package com.fulong.web.webconfig;

import com.fulong.service.DeviceJobInfoService;
import org.quartz.Scheduler;

import org.quartz.impl.StdSchedulerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;


public class SchudlerConfiger {
    public Object getObject() throws Exception {
        Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler();
        scheduler.start();
        return scheduler;
    }

}
